/* code for about section */

.about {
  background-color: black;
  color: #fff;
  width: 100%;
  height: auto;
  padding-top: 70px;
  padding-bottom: 20px;
  transition: all 120ms;

}

.about_content {
  display: grid;
  grid-template-areas:
    "pic perks"
    "pic para";
  justify-content: space-around;
  margin-left: 150px;
  margin-right: 151px;
}

#main_photo {
  grid-area: pic;
  height: 500px;
  width: 364px;
  border-radius: 10px;
  margin-top: 10px;
  /* filter: grayscale(70%); */
  transition: all .3s linear;
}




#perks {
  display: flex;
  justify-content: space-evenly;
  align-items: center;
  height: 260px;
  width: 800px;
  grid-area: perks;
}

.item-container {
  background-color: #9c7272;
  color: #000000;
  width: 150px;
  height: 210px;
  margin: 5px;
  padding: 1rem;
  border-radius: 1rem;
  box-shadow: 0 5px 10px rgba(0, 0, 0, 0.2);
  transition: all .3s linear;
  animation: info_box 3s ease-in-out 0s infinite normal forwards;
}

@keyframes info_box {
  0% {
    transform: translate(0);
  }

  20% {
    transform: translate(-2px, 2px);
  }

  40% {
    transform: translate(-2px, -2px);
  }

  60% {
    transform: translate(2px, 2px);
  }

  80% {
    transform: translate(2px, -2px);
  }

  100% {
    transform: translate(0);
  }
}

.item-container img {
  width: 100px;
  height: 100px;
}

.item-container p {
  text-transform: capitalize;
  text-align: center;
}


.item-container:hover {
  color: #fff;
  background-color: rgb(116, 116, 116);
}

#about_para {
  color: #fff;
  grid-area: para;
  position: relative;
  top: -50px;
  padding-left: 20px;
  padding-right: 20px;
  margin-top: 50px;
  margin-left: 100px;
  margin-right: 100px;
  font-size: 25px;
}

/* end of about section */